<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>项目管理平台</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet"
	href='${application}/resource/appPlan/css/main.min.css' type="text/css" />
<style type="text/css">
.login-label {
	font-size: 12px;
	background-image: none;
}

.code-input {
	width: 46px;
	background-color: #FFFFFF;
	border: 1px solid #999999;
	margin: 1px;
	padding: 1px;
}
</style>
<script type="text/javascript">
function ev_submit() {
	document.getElementById("loginform").submit();
}

function changeLanguage(){
		
		document.forms[0].action = "/obpm/core/multilanguage/changeLanguage.action" + "?showCode=" + "false";
		document.forms[0].submit();
}

function showTips(obj) {
	var tipsArea = document.getElementById("tipsArea");
	
	obj.style.border = "1px; solid #016BC9";
	
	var style = "font-size:12px; color:blue;"
	
	var tips = "";
	
	switch(obj.name) {
		case "userID" : tips = "请输入您的账号";break;
		case "password" : tips = "请输入您的密码";break;
		case "checkcode" : tips = "请输入图片显示的4个字符，不分大小写";break;
		default : tipsArea.innerHTML = "&nbsp;";
	}
	
	tipsArea.innerHTML = "<font style='" + style + "'>" + tips + "</font>"; 
}

function disableTips(obj) {
	obj.style.border = "1px solid #999999";
	
	var tipsArea = document.getElementById("tipsArea");
	tipsArea.innerHTML = "&nbsp;";
}
function getSecurityCode() {
	var numkey = Math.random();
	document.getElementById("checkCodeImg").src = '/obpm/checkCodeImg?num=' + numkey;
}
</script>
</head>
<body bgcolor=#FFFFFF>

<form id="loginform" onsubmit="customOnsubmit(); return true;"
	action="login!doExecute.action" method="post"><input type="hidden" name="nextURl"
	value="index.action" />

<table style="width: 100%; text-align: right">
	<tr style="vertical-align: middle;">
		<td><font
			style="font-size: 12px; padding-right: 11px; vertical-align: middle"><img
			src='${application}/resource/appPlan/images/button_arrow.gif' />&nbsp;语言:</font><select
			name="language" id="loginform_language" onchange="changeLanguage()">
			<option value="1">English</option>
			<option value="2" selected="selected">简体中文</option>
			<option value="3">繁體中文</option>


		</select></td>
	</tr>
</table>
<div align="center">
<table width="812" border=0 cellpadding=0 cellspacing=0
	style="background-image: url(${application}/resource/appPlan/images/background.gif)">
	<tr>
		<td colspan="3" align="center" style="height: 150px;"><img
			src="${application}/resource/appPlan/images/logobanner.gif"
			alt="Teemlink.com" /></td>
	</tr>
	<tr style="height: 363px;">
		<td width="225">&nbsp;</td>
		<td valign="top">
		<table cellpadding="0" cellspacing="0" border=0 width="363"
			style="height: 228px; margin: 0px; background-image: url(${application}/resource/appPlan/images/main_login.gif); vertical-align: top;">
			<tr>
				<td colspan="3" style="height: 40px;">&nbsp;</td>
			</tr>
			<tr>
				<td width="25px">&nbsp;</td>
				<td><!-- Login table -->
				<table style="width: 100%; weight: 100%; text-align: left;"
					cellpadding="0" cellspacing="0">
					<tr valign="middle">
						<td style="text-align: right;">
						<table style="margin: 20px; padding: 0px; text-align: right;"
							cellpadding="2" cellspacing="0">
							<tr style="margin: 4px;">
								<td class="login-label" style="padding-right: 8px;">账号:</td>
								<td colspan="2"><input type="text" name="userID" value=""
									id="loginform_username" class="login-input"
									style="height: 20px; width: 120px;" onfocus="showTips(this)"
									onblur="disableTips(this)" /></td>
							</tr>
							<tr style="margin: 4px;">
								<td class="login-label" style="padding-right: 8px;">密码:</td>
								<td colspan="2"><input type="password" name="password"
									id="loginform_password" class="login-input"
									style="height: 20px; width: 120px;" onfocus="showTips(this)"
									onblur="disableTips(this)" /></td>
							</tr>

						</table>
						</td>
						<td>
						<table cellpadding="0" cellspacing="0">
							<tr>
								<td rowspan="3"><input type="image"
									src="${application}/resource/appPlan/images/submit.gif" /></td>
							</tr>
						</table>
						</td>
					</tr>
					<tr>
						<td colspan="2">
						<div style="height: 20px; padding-left: 60px; padding-top: 5px;"
							id="tipsArea">&nbsp;</div>
						</td>
					</tr>
				</table>
				<!-- End of Login table --></td>
				<td width="29px">&nbsp;</td>
			</tr>
			<tr>
				<td colspan="3" style="height: 16px;">&nbsp;</td>
			</tr>
		</table>
		<br />

		<!-- Show the Errors -->
		<div align="left"></div>

		</td>
		<td width="224">&nbsp;</td>
	</tr>
	<!-- Copy right -->
	<tr>
		<td colspan="3" align="center">
		<p id="copyright">&copy; 2009-2013. <a href="#" target="_blank"
			title=""><b>honglian.com</b></a> 保留所有权利.</p>
		</td>
	</tr>
</table>
</div>
</form>


<script>
	function customOnsubmit() {
		
	}
</script>



</body>
</html>